import http from '@http/http'

export const _getUserInfo = (errMsg) => http.GET('/api/auth/userInfo', {}, errMsg)
// 分页查
export const pageOrderList = (obj) => http.GET('/api/hOrder/list', obj)
// 删除
export const backOrder = (id) => http.GET('/api/hOrder/backById?id=' + id)
export const selectOrder = (id) => http.GET('/api/hOrder/selectById?id=' + id)
export const checkOrder = (id) => http.GET('/api/hOrder/checkById?id=' + id)
export const commentOrder = (data) => http.GET('/api/hComment/hotelComment', data)
